import request from '@/utils/request'

// 查询光伏列表
export function listScreen_PV(query) {
  return request({
    url: '/screen_PV/screen_PV/list',
    method: 'get',
    params: query
  })
}

// 查询光伏详细
export function getScreen_PV(id) {
  return request({
    url: '/screen_PV/screen_PV/' + id,
    method: 'get'
  })
}

// 新增光伏
export function addScreen_PV(data) {
  return request({
    url: '/screen_PV/screen_PV',
    method: 'post',
    data: data
  })
}

// 修改光伏
export function updateScreen_PV(data) {
  return request({
    url: '/screen_PV/screen_PV',
    method: 'put',
    data: data
  })
}

// 删除光伏
export function delScreen_PV(id) {
  return request({
    url: '/screen_PV/screen_PV/' + id,
    method: 'delete'
  })
}
